gobang:main.cc
	g++ -o $@ $^ -std=c++17 -ljsoncpp -lredis++ -lhiredis -lpthread -L/usr/lib64/mysql -lmysqlclient -lboost_system

.PHONY:clean
clean:
	rm -f gobang

.PHONY:test
test:
	rm -f gobang
	g++ -o gobang main.cc -std=c++17 -ljsoncpp -L/usr/local/lib64/redis++ -lredis++ -L/usr/local/lib/hiredis -lhiredis -lpthread -L/usr/lib64/mysql -lmysqlclient -lboost_system